package io.renren.modules.telnets.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.*;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author nyc
 * @email 2691778746@qq.com
 * @date 2022-04-06 16:04:29
 */
@Data
@TableName("talents_repertory")
public class TalentsRepertoryEntity implements Serializable,Comparable<TalentsRepertoryEntity> {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	private Long telnetId;
	/**
	 * 姓名
	 */
	private String telnetName;
	/**
	 * 年龄
	 */
	private Integer telnetAge;
	/**
	 * 性别
	 */
	private Integer telnetGender;
	/**
	 * 学历
	 */
	private Integer educationId;
	/**
	 * 毕业院校
	 */
	private String graduateUniversity;
	/**
	 * 联系电话
	 */
	private String phone;
	/**
	 * 联系微信
	 */
	private String wechat;
	/**
	 * 所学专业
	 */
	private String major;
	/**
	 * 工龄
	 */
	private Integer workAge;
	/**
	 * 省份
	 */
	private String provinceid;
	/**
	 * 城市
	 */
	private String cityid;
	/**
	 * 地区
	 */
	private String areaid;
	/**
	 * 行业一级分类
	 */
	private String tradeId;
	/**
	 * 行业二级分类
	 */
	private String classifyId;
	/**
	 * 行业三级分类
	 */
	private String jobTypeId;
	/**
	 * 逻辑删除字段
	 */
	@TableLogic
	private Integer isDeleted;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date createTime;
	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;

	private String advator;

	@Override
	public int compareTo(TalentsRepertoryEntity o) {
		int i = o.createTime.compareTo(this.createTime);
		//int i = this.createTime.compareTo(o.createTime);
		return i;
	}
}
